package com.lphj.datainterface.service.impl;

import com.lphj.datainterface.dao.TCumGoodsDao;
import com.lphj.datainterface.entity.TCumGoods;
import com.lphj.datainterface.service.TCumGoodsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class TCumGoodsServiceImpl implements TCumGoodsService {

    @Autowired
    TCumGoodsDao tCumGoodsDao;

    @Override
    public int addTCumGoods(TCumGoods tCumGoods) {
        return tCumGoodsDao.AddTCumGoods(tCumGoods);
    }

    @Override
    public int delTCumGoods() {
        return tCumGoodsDao.DelTCumGoods();
    }
}
